package com.oig.sys.config;

import com.oig.sys.suport.SecurityAuditorAware;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.domain.AuditorAware;

@Configuration(proxyBeanMethods = false)
public class JpaAuditingConfig {

    @Bean
    public AuditorAware<Integer> auditorAware() {
        return new SecurityAuditorAware();
    }

}
